//
//  CTSubjectDetailView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/6/5.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CTSubjectItem;
@protocol CTSubjectDetailViewDelegate;

@interface CTSubjectDetailView : UIView
@property (nonatomic, strong) NSArray *subjectDetailArray;
@property (nonatomic, assign)id<CTSubjectDetailViewDelegate>delegate;

- (instancetype)initWithFrame:(CGRect)frame withItem:(CTSubjectItem *) item;

@end


@protocol CTSubjectDetailViewDelegate <NSObject>


- (void)backBtnAction:(CTSubjectDetailView *) view;
- (void)shareBtnAction:(CTSubjectDetailView *) view withShareUrl:(NSString *) shareUrl;
- (void)attentionBtnAction:(CTSubjectDetailView *) view withItem:(CTSubjectItem *)item withBool:(BOOL)attenBool;
- (void)cameraBtnAction:(CTSubjectDetailView *) view;
- (void)headerBtnAction:(CTSubjectDetailView *) view withItem:(CTSubjectItem *) item;

@end